<?php
abstract class Worker {

	protected  $name;
	protected $salary;
	protected $age;
	
	protected function __construct($name,$salary,$age){
		$this->name		= $name;
		$this->salary 	= $salary;
		$this->age    	= $age;
	}
	
	public function getName() {
		return $this->name;
	}
	
	public function setName($name) {
		$this->name = $name;
	}
	
	public function getSalary() {
		return $this->salary;
	}
	
	public function setSalary($Salary) {
		$this->salary = $Salary;
	}
	
	public function getAge() {
		return $this->age;
	}
	
	public function setAge($age) {
		$this->age = $age;
	}
	
	public function working(){
		return $this->name." is working!";
	}
	
	public abstract function move($km);
	
	
}